<!-- eslint-disable @typescript-eslint/no-unused-vars -->
<!-- eslint-disable vue/require-default-prop -->
<script lang="ts">
//templateSlot.vue
import { h } from "vue"
export default {
  functional: true,
  props: {
    template: {
      type: Function
    },
    data: {
      type: Object
    }
  },
  render: (props: any, _ctx: any) => {
    return h("div", [props.template(props.data, 222)])
  }
}
</script>
